package com.basic.app.dto;

import com.basic.app.entity.member.LoginUser;
import lombok.Data;

@Data
public class AuthUserDto {
    /**
     * 授权类型：0--WEB端 1--微信端
     */
    private Integer authType;

    /**
     * 用户名
     */
    private String userName;

    private String password;

    /**
     * 临时登录凭证
     */
    private String code;

    /**
     * 用户登录id
     */
    private String uuid = "";

    /**
     * 服务器jwt token
     */
    private String token;

    /**
     * 用户信息
     */
    private LoginUser userInfo;

    @Override
    public String toString() {
        return "AuthUser{" +
                "userName='" + userName + '\'' +
                ", password='" + "*********" + '\'' +
                ", code='" + code + '\'' +
                ", uuid='" + uuid + '\'' +
                ", token='" + token + '\'' +
                ", userInfo=" + userInfo +
                '}';
    }
}
